package tester.input;

import messages.MessageType;

/**
 * This message is a tester specific message denoting that the tester must create a new elevator
 * @author Caleb Chan
 *
 */
public class CreateElevatorMessage extends TesterMessage {

	/**
	 * CreateElevatorMessage constructor
	 */
	public CreateElevatorMessage(){
	}

	@Override
	public MessageType getMessageType(){
		return null;
	}
	
	/**
	 * This method will return the tester specific message type
	 */
	public TesterMessageType getTesterMessageType(){
		return TesterMessageType.CreateElevatorMessage;
	}
	
	@Override
	public byte[] toByteArray(){
		byte[] out = new byte[1];
		out[0] = getTesterMessageType().getIdentifier();
		
		return out;
	}
}
